package com.design.alex.command;

/**
 * @ClassName : Stock
 * @Description : todo
 * @Author : Alex
 * @Date: 2020-02-18 11:40
 */
public class Stock {
    private String name = "abc";
    private int quality = 10;

    public void buy() {
        System.out.println("Stock | name: + "+name+" quality: " +quality+ "| bought");
    }

    public void sell() {
        System.out.println("Stock | name: + "+name+" quality: " +quality+ "| sold");
    }
}
